<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="menu" content="col1Menu" />
<meta name="nav" content="3" />
<meta name="acc" content="supervisoryorg" />
<title>设计单位</title>
<!--  通用情况下 不引入 js css  表单验证  js 放置到页面中 -->
<%-- ui tabs --%>

<script type="text/javascript"
	src="<c:url value='/ext/ui/jquery-ui-1.8.12.custom.min.js'/>"></script>
<link href="${ctx}/styles/lightness/jquery-ui-1.8.12.custom.css"
	rel="stylesheet" />
<script>
	$(document).ready(
					function() {
						$("#finishDate").addClass("Wate").bind("click", function(){
				    	 WdatePicker({skin:'whyGreen',minDate:'1900-10-01',maxDate:'%y-%M-%d',dateFmt:'yyyy-MM-dd'});});
					});
			function readSign(url){
			    mm = showDialogWindow(url);
			}
</script>
</head>
<body>
<div id="heading" class="organization"><h6>监理单位列表</h6></div>
<form id="mainForm" action="supervisoryorg.action" method="get" class="yform">
<div id="filter">
<ul>
<li>单位名称 ：<input type="text" name="filter_LIKES_orgName" value="${param['filter_LIKES_orgName']}" /></li>
<li>主管部门:<input type="text" name="filter_LIKES_burderDep" value="${param['filter_LIKES_burderDep']}"></input></li>
<li>成立时间 ：<input type="text" id="finishDate" name="filter_GED_finishDate" value="${param['filter_GED_finishDate']}"  /></li>
</ul>
<div class="type-button"><input onclick="search()" type="button" value="查询" align="right" class='search'/></div>
</div>
<div id="message"><s:actionmessage theme="custom"
	cssClass="success" /></div>
<div id="content">
<table width="200" border="0" cellspacing="0" cellpadding="1">
	<tr class="${(status.count % 2 == 0) ? 'even' : 'odd'}" >
			<th>单位名称</th>
			<th>主管部门</th>
			<th>成立时间</th>
			<th>操作</th>
	</tr>
	<c:forEach items="${page.result}" var="supervisoryorg" varStatus="orgNum">
		<tr class="${(status.count % 2 == 0) ? 'even' : 'odd'}" >
			<td id="orgName${orgNum.count}">${supervisoryorg.orgName}</td>
			<td>${supervisoryorg.burderDep }</td>
			<td>${supervisoryorg.finishDate }</td>
			<td><a onclick="readSign('${ctx}/project/org/organization!input.action?id=${supervisoryorg.id}&projectId=${projectId}&typeId=${supervisoryorg.type}')"
				href="#">查看</a></td>
		</tr>
	</c:forEach>
</table>
</div>
<jsp:include page="/common/page.jsp" flush="true" />
</form>
</body>
</html>
